package com.xc.content.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xc.content.entity.CourseTeacher;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * 课程-教师关系表(CourseTeacher)表数据库访问层
 *
 * @author makejava
 * @since 2025-01-09 10:37:42
 */
@Mapper
public interface CourseTeacherMapper extends BaseMapper<CourseTeacher> {


    Integer addCourseTeacher(@Param("courseTeacher") CourseTeacher courseTeacher);

    Integer updateCourseTeacher(@Param("courseTeacher") CourseTeacher courseTeacher);

    CourseTeacher queryByCourseId(@Param("courseId") String courseId, @Param("id")String id);
}

